package com.yunxi.service.localService.otd;

import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.otd.OtdWeekUpload;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 周度需求计划 服务类
 * </p>
 *
 * @author
 * @since 2019-05-09
 */
public interface OtdWeekUploadService extends IServicePlus<OtdWeekUpload> {
//    PageInfo<OtdWeekUploadVO> page(OtdWeekPlanVO otdWeekPlanVo, Integer pageNum, Integer pageSize);

    void confirmW1Plan(String weekUploadCode);

    /**
     * 是否重复导入
     */
    boolean isExistUpload(String year, String month, String week);

    /**
     * 更新上传主表总数量
     */
    void updateWeekUploadSumNum(String weekUploadCode);

    /**
     * 根据年月周查询上传记录
     * @param year
     * @param month
     * @param week
     * @return
     */
    OtdWeekUpload findWeekUploadByWeek(String year, String month, String week);

}
